package com.changgou.log.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:SystemLog构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "SystemLog",value = "SystemLog")
@Table(name="system_log")
public class SystemLog implements Serializable{

	@ApiModelProperty(value = "",required = false)
	@Id
    @Column(name = "id")
	private String id;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "user_name")
	private String userName;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "ip")
	private String ip;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "time")
	private Date time;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "method")
	private String method;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "action")
	private String action;//



	//get方法
	public String getId() {
		return id;
	}

	//set方法
	public void setId(String id) {
		this.id = id;
	}
	//get方法
	public String getUserName() {
		return userName;
	}

	//set方法
	public void setUserName(String userName) {
		this.userName = userName;
	}
	//get方法
	public String getIp() {
		return ip;
	}

	//set方法
	public void setIp(String ip) {
		this.ip = ip;
	}
	//get方法
	public Date getTime() {
		return time;
	}

	//set方法
	public void setTime(Date time) {
		this.time = time;
	}
	//get方法
	public String getMethod() {
		return method;
	}

	//set方法
	public void setMethod(String method) {
		this.method = method;
	}
	//get方法
	public String getAction() {
		return action;
	}

	//set方法
	public void setAction(String action) {
		this.action = action;
	}


}
